package com.cmc.cloud.cmclink.doc.vo.voyagelock;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 航次锁船记录 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 航次锁船记录 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VoyageLockImPageReqVO extends PageParam {

    @Schema(description = "船舶代码")
    private String vesselCode;

    @Schema(description = "航次")
    private String voyage;

    @Schema(description = "港口代码")
    @NotBlank(message = "{voyagelock.portcode.notblank}")
    private String portCode;

    @Schema(description = "D/O锁" )
    private Boolean lockDo;

    @Schema(description = "费用锁" )
    private Boolean lockCharge;
}
